/** PortRole Class
    CS158A Spring 2010 Project #2
    @author Clare Lanam & Loc Phan
    */

public enum PortRole
{
   ROOT("Root"),
   DESIGNATED("Designated"),
   BACKUP("Backup"), // can become designated
   ALTERNATE("Alternate"); // can become root
   
   private final String name;
   
   PortRole(String name) { this.name = name; }
   public String toString() { return name; }
}
